package hoja4;

public class vect implements Comparable<vect>{

	char letra;
	int num;
	
	public vect(int valor, char letter){
		
		letra=letter;
		num=valor;
	}
	
	public int compareTo(vect o) {
		
		if(num==o.num)
			return 0;
		
		if(num>o.num)
			return 1;
		
		return -1;
	}
	
}
